<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>登录</title>
    <link href="__STATIC_URL__/static/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="__STATIC_URL__/static/jquery/2.2.1/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <style type="text/css">
        .thumbnail{
            border: 0;
        }
        .thumbnail img{
            max-width: 150px;
        }
        .btn-group-lg>.btn, .btn-lg{
            font-size: 14px;
            padding: 8px 16px;
        }
    </style>
</head>

<body>
<div>
    <div class="row" style="padding: 30px;">
        <div class="col-sm-6 col-md-4" style="padding: 0;">
            <div class="thumbnail">
                <img src="https://ss0.baidu.com/73t1bjeh1BF3odCf/it/u=348549407,3565430726&fm=85&s=4ADA6D8706EF3EAC7FBC754E03008010" alt="...">
                <div class="caption">
                    <h3 class="text-center">{$merchant['merchant']}</h3>
                    <h4 class="text-center">验证码：318080</h4>
                    <p class="text-center" style="color: #a5a2a3;">您正要登录"永庆蛋糕支付"的管理后台，点击下方按钮电脑端端将登录，或者输入上面验证码进行登录（管理员登录权限较高）</p>
                </div>
            </div>
        </div>
        <button type="button" class="btn btn-success btn-lg btn-block" id="query">确认登陆</button>
        <a href="javascript:window.history.go(-1)" class="btn btn-default btn-lg btn-block">返回</a>
    </div>
</div>
<script type="text/javascript">
    $(function(){
        $("#query").click(function(){
            var id = $(this).attr("data-id");
            $.ajax({
                url:"{url('login/querycodelogin')}",
                type:"post",

                success:function(data){
                    alert(data.message)

                }
            })
        })
    })
</script>
</body>
</html>

</body>
</html>